]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Fix _ensureIconVisible()
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 18 Feb 2013 21:18:09 +0000 (22:18 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 18 Feb 2013 21:44:23 +0000 (22:44 +0100)
The fade effect was renamed a while ago, but we missed to update
the use in _ensureIconVisible().

https://bugzilla.gnome.org/show_bug.cgi?id=694125

js/ui/appDisplay.js

index 5cd15722fa0a10a6a0ca9d14493ff4ffaf887884..5206b662b02f8645a09157b442782e75da773ef3 100644 (file)
@@ -86,9 +86,9 @@ const AlphabeticalView = new Lang.Class({
         let [value, lower, upper, stepIncrement, pageIncrement, pageSize] = adjustment.get_values();
 
         let offset = 0;
-        let vfade = this.actor.get_effect("vfade");
+        let vfade = this.actor.get_effect("fade");
         if (vfade)
-            offset = vfade.fade_offset;
+            offset = vfade.vfade_offset;
 
         // If this gets called as part of a right-click, the actor
         // will be needs_allocation, and so "icon.y" would return 0